#ifndef _REAR_H
#define _REAR_H

#define OFF 0
#define ON 1

typedef struct rear_t {
  tt_object_t	obj;
  uint8_t		leftIndicator;
  uint8_t		rightIndicator;
  uint8_t		warningLights;
  uint8_t		breakLights;
  uint8_t		registrationLight;
  uint8_t		rearLights;
  uint8_t		reversingLights;
} rear_t;

extern rear_t rear;

void rearInit(rear_t *self, void *none);
void leftRearIndicator(rear_t *self, void *none);
void rightRearIndicator(rear_t *self, void *none);
void breakLight(rear_t *self, void *none);
void reversingLight(rear_t *self, void *none);
void rearWarningLights(rear_t *self, void *none);

#endif
